<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>TrabalhodeOrgII: Referência da Classe AgDCC</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Gerado por Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">TrabalhodeOrgII&#160;<span id="projectnumber">1.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Página&#160;Principal</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Arquivos</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Lista&#160;de&#160;Componentes</span></a></li>
      <li><a href="classes.html"><span>Índice&#160;dos&#160;Componentes</span></a></li>
      <li><a href="functions.html"><span>Componentes&#160;Membros</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Métodos Públicos</a> &#124;
<a href="#pub-attribs">Atributos Públicos</a>  </div>
  <div class="headertitle">
<h1>Referência da Classe AgDCC</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="AgDCC" -->
<p><code>#include &lt;<a class="el" href="agdcc_8h_source.html">agdcc.h</a>&gt;</code></p>

<p><a href="classAgDCC-members.html">Lista de todos os Membros.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Métodos Públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAgDCC.html#ab3fbb1fa3cd0b27bc83cb823fd953f1a">AgDCC</a> (QObject *parent=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAgDCC.html#a61fbcdc4daa3e54b9c2947080af32e28">alocarRecursos</a> (int agenciaAlfa, int agenciaBeta)</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Atributos Públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAgDCC.html#aa5dbeb6d9402e7f4e44e57e5ce502497">recursoA</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAgDCC.html#a90523640e798f32b392ee1339ecc5dce">recursoB</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAgDCC.html#aac7b411197fbf16051b627e1db9e84e2">recursoC</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAgDCC.html#aaa1b30ba0fd4b1efbdc0dfdc9b6fd66b">recursoD</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QVector&lt; <a class="el" href="classThreadCaixa.html">ThreadCaixa</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAgDCC.html#ac001fb2234e308295689946f420db9c1">vetorThreadsCaixas</a></td></tr>
</table>
<hr/><h2>Construtores &amp; Destrutores</h2>
<a class="anchor" id="ab3fbb1fa3cd0b27bc83cb823fd953f1a"></a><!-- doxytag: member="AgDCC::AgDCC" ref="ab3fbb1fa3cd0b27bc83cb823fd953f1a" args="(QObject *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">AgDCC::AgDCC </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Métodos</h2>
<a class="anchor" id="a61fbcdc4daa3e54b9c2947080af32e28"></a><!-- doxytag: member="AgDCC::alocarRecursos" ref="a61fbcdc4daa3e54b9c2947080af32e28" args="(int agenciaAlfa, int agenciaBeta)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool AgDCC::alocarRecursos </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>agenciaAlfa</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>agenciaBeta</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Verifica se é possível alocar os recursos para uma instância de Thread Caixa </p>
<dl><dt><b>Parâmetros:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">agenciaAlfa</td><td>primeira agência requisitada </td></tr>
    <tr><td class="paramname">agenciaBeta</td><td>segunda agência requisitada </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Retorna:</b></dt><dd>se é possivel alocar os recursos </dd></dl>

</div>
</div>
<hr/><h2>Atributos</h2>
<a class="anchor" id="aa5dbeb6d9402e7f4e44e57e5ce502497"></a><!-- doxytag: member="AgDCC::recursoA" ref="aa5dbeb6d9402e7f4e44e57e5ce502497" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classAgDCC.html#aa5dbeb6d9402e7f4e44e57e5ce502497">AgDCC::recursoA</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Variáveis de disponibilidade de recursos Cada recurso representa a possibilidade de pegar lock do log de clientes da agencia. </p>

</div>
</div>
<a class="anchor" id="a90523640e798f32b392ee1339ecc5dce"></a><!-- doxytag: member="AgDCC::recursoB" ref="a90523640e798f32b392ee1339ecc5dce" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classAgDCC.html#a90523640e798f32b392ee1339ecc5dce">AgDCC::recursoB</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aac7b411197fbf16051b627e1db9e84e2"></a><!-- doxytag: member="AgDCC::recursoC" ref="aac7b411197fbf16051b627e1db9e84e2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classAgDCC.html#aac7b411197fbf16051b627e1db9e84e2">AgDCC::recursoC</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aaa1b30ba0fd4b1efbdc0dfdc9b6fd66b"></a><!-- doxytag: member="AgDCC::recursoD" ref="aaa1b30ba0fd4b1efbdc0dfdc9b6fd66b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classAgDCC.html#aaa1b30ba0fd4b1efbdc0dfdc9b6fd66b">AgDCC::recursoD</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac001fb2234e308295689946f420db9c1"></a><!-- doxytag: member="AgDCC::vetorThreadsCaixas" ref="ac001fb2234e308295689946f420db9c1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVector&lt;<a class="el" href="classThreadCaixa.html">ThreadCaixa</a>*&gt;* <a class="el" href="classAgDCC.html#ac001fb2234e308295689946f420db9c1">AgDCC::vetorThreadsCaixas</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Vetor de threads (uma para cada caixa) </p>

</div>
</div>
<hr/>A documentação para esta classe foi gerada a partir dos seguintes arquivos:<ul>
<li><a class="el" href="agdcc_8h_source.html">agdcc.h</a></li>
<li><a class="el" href="agdcc_8cpp.html">agdcc.cpp</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Gerado em Domingo, 20 de Novembro de 2011 19:36:39 para TrabalhodeOrgII por&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>
